<!DOCTYPE html>
<html style="font-size: 16px">
<head>

<meta name="viewport" content="width=800">
<style>
  body {
    width: 800px;
    margin: 0;
    overflow: hidden;
  }
</style>

<script src="resources/autosizingTest.js"></script>

</head>
<body>

<div>
This test verifies that FastTextAutosizer considers a list item (LI) to be
"text" for the purpose of determining the deepest block containing all text
(DBCAT). If this were not the case, the cluster's DBCAT would be the DIV inside
the LI, which hasn't entered layout yet when the list marker is autosized (causing
the autosizer to crash).
</div>
<ul style="float:left">
<li style="width:800px;"><div>List item list item list item list item list item list item list item
list item list item list item list item list item list item list item list item
list item list item list item list item list item list item list item list item</div></li>
</ul>

</body>
</html>
